package org.msfj.toilets.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Description: 厕位分布配置文件
 * @Author: like
 * @Date: 2018-10-11 10:58
 * @Version: 1.0
 * @Created in idea by autoCode
 */
@Configuration
@ConfigurationProperties(prefix = "toilet-config")
public class ToiletConfig {
    Integer tcpPort;
    Integer udpPort;
    Integer count;
    String men;
    String women;
    String other;

    public Integer getTcpPort() {
        return tcpPort;
    }

    public void setTcpPort(Integer tcpPort) {
        this.tcpPort = tcpPort;
    }

    public Integer getUdpPort() {
        return udpPort;
    }

    public void setUdpPort(Integer udpPort) {
        this.udpPort = udpPort;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getMen() {
        return men;
    }

    public void setMen(String men) {
        this.men = men;
    }

    public String getWomen() {
        return women;
    }

    public void setWomen(String women) {
        this.women = women;
    }

    public String getOther() {
        return other;
    }

    public void setOther(String other) {
        this.other = other;
    }
}
